<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>4x4表格示例 - 纯HTML版</title>
</head>
<body>

<table border="1" style="border-collapse: collapse">
    <caption>购物车</caption>
    <tr>
        <th>商品编号</th>
        <th>商品名称</th>
        <th>商品价格</th>
        <th>商品详情</th>
    </tr>
    <tr>
        <td>1-1</td>
        <td>1-2</td>
        <td>1-3</td>
        <td>1-4</td>
    </tr>
    <tr>
        <td colspan="2">2-1</td>
        <!--        <td>2-2</td>-->
        <td>2-3</td>
        <td rowspan="3">2-4</td>
    </tr>
    <tr>
        <td>3-1</td>
        <td>3-2</td>
        <td>3-3</td>
        <!--        <td>3-4</td>-->
    </tr>
    <tr>
        <td>4-1</td>
        <td>4-2</td>
        <td>4-3</td>
        <!--        <td>4-4</td>-->
    </tr>
    <tr>
        <td>总价</td>
        <td colspan="3">11111</td>
    </tr>
</table>

</body>
</html>